﻿using System;
using System.Collections.Generic;

namespace NewFormatProject.Infrastructure.EFCore
{
    public partial class SysDepartments
    {
        public SysDepartments()
        {
            InverseDParent = new HashSet<SysDepartments>();
            Jobs = new HashSet<Jobs>();
        }

        public int DId { get; set; }
        public string DName { get; set; }
        public string DDescription { get; set; }
        public int? DParentId { get; set; }
        public DateTime DCreateTime { get; set; }

        public virtual SysDepartments DParent { get; set; }
        public virtual ICollection<SysDepartments> InverseDParent { get; set; }
        public virtual ICollection<Jobs> Jobs { get; set; }
    }
}
